<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>

    <title>资源详情</title>
    <link rel="stylesheet" href="http://evideo.adp5.com.cn/static/public/css/base.css"/>
    <link rel="stylesheet" href="http://evideo.adp5.com.cn/static/public/css/icon.css"/>
    <link rel="stylesheet" href="http://evideo.adp5.com.cn/static/public/css/video-list.css?v=2"/>
    <link rel="stylesheet" href="http://evideo.adp5.com.cn/static/public/css/weui-for-work.css"/>
    <link rel="stylesheet" href="http://evideo.adp5.com.cn/static/public/css/jquery-weui.min.css"/>
    <link rel="stylesheet" href="http://evideo.adp5.com.cn/static/public/css/weui2.css"/>
    <script src="http://evideo.adp5.com.cn/static/public/libs/jquery.min.js"></script>
    <script src="http://evideo.adp5.com.cn/static/public/libs/jquery-weui.min.js"></script>
    <script src="../public/js/api/resource-detail.js"></script>
    <script type="text/javascript" th:inline="javascript">
        resourceId = [[${resourceId}]];
        $(function () {
            getUserInfo();
            getVideoDetail();
            initPutVideoInfo();
            getCountInfo();
            if (!userFrom) {
                userFrom = "0"
            }
        });
    </script>
</head>
<body ontouchstart="">
<div class="section-heading" style = "background-color: #FFFFFF;">
    <video id="my_video" onplay="playF()" onpause="pauseF()" onended="endedF()" controls="" controlslist="nodownload" preload="metadata" width="100%" style="display: none;" ></video>

    <div class="cover-img" style="height: 180px; background-size:100%; background-image: linear-gradient(19deg, #a17fe0 30%, #576b95 100%); color:white; text-align:center; line-height:180px; display: none;" >
        <div style="background: url(../public/images/pdf.png) no-repeat;background-size:100%;">
                <span style="border:1px solid #FFF;padding: 0.6em;border-radius: 0.2em; margin-left: 3em" id="download-resources-home">查看 PDF 文件</span>
                <span style="border:1px solid #FFF;padding: 0.6em;border-radius: 0.2em; margin-left: 1em; display: none" id="android-download-resources-home" >下载 PDF</span>
        </div>
    </div>
    <div class="bd">
        <div class="page__bd">
            <div class="weui-cells" style="margin-top: 0;">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p id="video-info" style="color: black;"></p>
                        <div id="base-info" style = "color: #999999; font-size: 14px"></div>
                        <div class="ios-click" style="text-align: right;color: #18b4ed;">
                            <i class="icon icon-64"></i><span id="view-count" style="margin-left: 5px;"></span>
                            <div class="click-method" style="display: inline-block; margin-left: 5%;">
                                <i class="icon " id="zan-style" ></i><span id="click-count" style="margin-left: 5px;"></span>
                            </div>
                        </div>
                        <div class="weui-flex" style="margin-top: 10px;">
                            <div class="weui-flex__item" style="text-align: center; ">
                                <button id="dongle" type="submit" class="weui-btn weui-btn_mini weui-btn_primary" href="javascript:" style="height: 90%; border-radius: 15px; line-height: 2.1;"><i class="icon icon-47"></i> 懂了</button>
                            </div>
                            <div id="budong" class="weui-flex__item" style="text-align: center; ">
                                <button type="submit" class="weui-btn weui-btn_mini weui-btn_primary" href="javascript:" style="height: 90%; border-radius: 15px; line-height: 2.1;"><i class="icon icon-88"></i> 没懂</button>
                            </div>
                        </div>
                    </div>
                    <div class="weui-cell__ft">
                    </div>
                </div>
            </div>
            <div class="weui-cells__title" style="margin-top: 0; margin-bottom: .8em;"></div>
        </div>
    </div>
    <a id="return-list" class="weui-btn weui-btn_primary" style="margin-top: 5%;width: 80%">返回列表</a>
</div>

<div class="weui-footer" style="margin-top:20em;margin-bottom:1em">
    <p class="weui-footer__text">Copyright © 2008-2019 大象 e 学</p>
</div>
</body>
</html>
